/**
 * Account.java
 */
package com.vcsoft.emailresponder.bean;

/**
 * @author bhosalevishal@gmail.com
 * @version 03-Sept-2012
 */
public class Account {
	
	/**
	 * public constructor
	 */
	public Account(){
		
	}

	/** 
	 * account id 
	 */ 
	private int id;
	
	/** 
	 * first name of the account holder
	 */
	private String fname;
	
	/** 
	 * last name of the account holder
	 */
	private String lname;
	
	/** 
	 * user name of the email account 
	 */
	private String userName;
	
	/** 
	 * password of the email account 
	 */
	private String password;
	
	/** 
	 * server of the email account 
	 */
	private String server;
	
	/** 
	 * port to connect with server 
	 */
	private String port;
	
	/** 
	 * type of the account POP, SMTP 
	 */
	private String type;
	
	/** 
	 * flag to delete mails from account, after reading/fetching email from account 
	 */
	private boolean deleteMails;
	
	/** 
	 * company id of the account holder 
	 */
	private int companyId;
	
	
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	
	/**
	 * @return the fname
	 */
	public String getFname() {
		return fname;
	}
	
	/**
	 * @return the lname
	 */
	public String getLname() {
		return lname;
	}
	
	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}
	
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	
	/**
	 * @return the server
	 */
	public String getServer() {
		return server;
	}
	
	/**
	 * @return the port
	 */
	public String getPort() {
		return port;
	}
	
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	
	/**
	 * @return the deleteMails
	 */
	public boolean isDeleteMails() {
		return deleteMails;
	}
	
	/**
	 * @return the companyId
	 */
	public int getCompanyId() {
		return companyId;
	}
	
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	
	/**
	 * @param fname the fname to set
	 */
	public void setFname(String fname) {
		this.fname = fname;
	}
	
	/**
	 * @param lname the lname to set
	 */
	public void setLname(String lname) {
		this.lname = lname;
	}
	
	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	
	/**
	 * @param server the server to set
	 */
	public void setServer(String server) {
		this.server = server;
	}
	
	/**
	 * @param port the port to set
	 */
	public void setPort(String port) {
		this.port = port;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	
	/**
	 * @param deleteMails the deleteMails to set
	 */
	public void setDeleteMails(boolean deleteMails) {
		this.deleteMails = deleteMails;
	}
	
	/**
	 * @param companyId the companyId to set
	 */
	public void setCompanyId(int companyId) {
		this.companyId = companyId;
	}
}
